﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WJP.Dependency
{
    /// <summary>
    /// 此接口用于将批处理解析的作用域封装在一个<c>using</c>语句中
    /// <para>它继承了<see cref="IDisposable" />和<see cref="IIocResolver" />，因此可以方便地批量释放解析对象</para>
    /// <para>会调用<see cref="IDisposable.Dispose"/>方法和<see cref="IIocResolver.Release(object)"/>方法来释放对象</para>
    /// </summary>
    public interface IScopedIocResolver : IIocResolver, IDisposable
    {
    }
}
